import post from './base.js'

export const goodsListReq = formData => post('goods/list', formData)

export const goodsSpecListReq = formData => post('goods-spec-list', formData)

export const goodsInfoReq = formData => post('goods/info', formData)

export const goodsActionReq = formData => post('goods/action', formData)

export const goodsDelReq = formData => post('goods/del', formData)

export const goodsChangeOrderReq = formData => post(`goods/change-order`, formData)

export const goodsChangeOnReq = formData => post(`goods/change-on`, formData)

export const goodsIncomeConfigListReq = formData => post(`goods-income-config/list`, formData)

export const goodsIncomeConfigListByGroupReq = formData => post(`goods-income-config/list-by-group`, formData)

export const goodsIncomeConfigActionReq = formData => post(`goods-income-config/action`, formData)

export const goodsIncomeConfigDelReq = formData => post(`goods-income-config/del`, formData)

export const goodsIncomeConfigMultiChangeReq = formData => post(`goods-income-config/multi-change`, formData)

export const goodsSpecValueSaveBatchReq = formData => post(`/goods/spec-value/save-batch`, formData)

export const goodsSpecHideListReq = formData => post(`/goods-spec-hide/list`, formData)

export const goodsSpecHideSaveBatchReq = formData => post(`/goods-spec-hide/action-batch`, formData)

export const goodsMakeQrReq = formData => post(`/goods/make-qr`, formData)
